package com.lyf.boot.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Luyufan
 * @date 2023/8/15 15:55
 */
@Data
@Component
@ConfigurationProperties(prefix = "api.crypto")
public class CryptoProperties {

    /**
     * 是否启用加解密
     */
    private boolean enabled;

    /**
     * 密钥
     */
    private String aseKey;
}
